package com.zlp.config;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Classname SupplierCodeEnum
 * @Description TODO
 * @Date 2022/9/21 15:50
 * @Created by ZouLiPing
 */
@Getter
@AllArgsConstructor
public enum SupplierCodeEnum {

    OK(200L, "成功"),
    SUCCESS(0L, "成功"),
    GENERIC_EXCEPTION(10000L, "通用异常"),
    TOKEN_CHECK_EXCEPTION(10010L, "Token 检验失败"),
    SIGNATURE_VERIFICATION_FAILED(40000L,  "验签失败");

    private Long code;
    private String message;
}
